home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
ARGONET
/
PD
/
EDITORS
/
CHANGE_TEXT_22.SPK
/
!ChangeTxt
/
!Help
< prev
next >
Wrap
Text File
|
1997-05-19
|
10KB
|
261 lines
ChangeTxt v2.2 27/4/97
======================
Overview
========
ChangeTxt converts text files between Acorn, PC and Macintosh platforms.
A registered version of ChangeTxt supports the following features:
- Line terminator mapping. i.e <CR> to <LF>, etc.
- Character set mapping between Acorn, DOS, OS/2 & Macintosh
platforms. So a bullet '•' will still look like a '•' even
if it has a different ASCII value between character sets.
- Strips invisible characters. Expands tabs.
- Provides direct conversions between platforms:
Acorn to Mac, Dos, OS/2
Dos to Acorn, Mac , OS/2
Mac to Acorn, DOS, OS/2
OS/2 to Mac, Acorn, DOS
- Guess platform type. ChangeTxt will examine the contents of a text
file and automatically choose a source platform to map to your
destination platform.
- Fully multitasking. All file conversions are performed in
background. Allows multiple files to be converted, even add files
with a different mapping during conversion.
- Support for multiple preference files for regularly performed
conversions.
An unregistered version only supports mapping between DOS and Acorn,
character set and line terminator mapping and multitasking.
For details on registration see the end of this file.
Using ChangeTxt
===============
To launch ChangeTxt, just double-click on the !ChangeTxt icon which will
then appear on the right hand side of the icon bar.
To view the ChangeTxt dialog click on the !ChangeTxt icon on the icon bar.
The ChangeTxt dialog is described below from the top of dialog down.
Preferences
===========
The preferences panel enables a variety of conversions to be named and saved for later
recall and use. The preferences saved consist of the conversion options and the source and
destination file types.
The writable icon is used to select the preferences file to be loaded, saved or
deleted. This can be typed into or the menu beside it can be used when selecting existing
preference files. Selecting a menu item or hitting Return in the writable icon
automatically loads the required preference file and updates the dialog.
The menu lists the currently known preference file set. These files are stored in the Prefs
directory of the application.
The 'Add' button saves the current dialog settings into the currently selected preference
file name as given in the writable icon. An existing preference file is overwritten.
The 'Remove' button deletes the currently selected preference file from the disk as given
in the writable icon.
The preference file used to set the dialog state is shown in the dialog title. When dialog
options are changed the title is modified with an asterisk '*'. Loading another preference
file into a modified dialog or quitting the application will cause a save dialog to appear.
Selecting the 'Save' option will save the current dialog state into the preference name given
in the window title. Selecting 'Discard' will cause the current dialog state to be ignored
and the load or quit action performed. Selecting 'Cancel' causes the action to be aborted.
Conversions
============
Character set - if ticked, the source characters are mapped onto the
destination character set. e.g. • will map to •
Otherwise without character set mapping a • may map to ¢
Any character that cannot be mapped will be translated to
a ?
Termination - if ticked then the source format line terminators are converted to
the appropriate target format line terminators, otherwise no
conversion of the line terminators is performed;
Strip codes - if ticked then all control code characters are stripped from
the destination file. Control code characters are the
non-printable characters in the range of 0-31 ASCII, but
not including the destination format line terminators nor the
tab character;
Expand tabs - if ticked then any tab characters to be written to the destination
file are converted to a number of spaces as specified in the
spaces writable icon.
Below the conversion options are two pop-up menus separated by an arrow.
The pop-up menu to the left of the arrow is the source format. The pop-up
menu to the right of the arrow is the destination format.
The source and destination menus allow the user to specify one of the following
formats as either source or destination: Mac, DOS, Acorn, OS/2
The source menu has an additional item, Guess. When Guess is selected, ChangeTxt
will examine the contents of the source file in an attempt to identify the source
format. It will then convert the file to the selected destination format. As OS/2
and DOS text files are similar, any conflict on guessing will default to DOS.
If the source and destination file types are the same then ChangeTxt ignores the
'Character set' and 'Termination' conversion options. This information remains unchanged
when the source characters are transferred to the destination. The other conversion options
are acted upon as usual.
Hints
=====
ChangeTxt can convert source file formats into destination file formats using a very
simple list of mapping options. The ability to turn the various options on and off allows
the user to convert files which are not 'true' platform files, e.g. a PC text file saved
in an Acorn file format. A far from exhaustive list of examples using the various options
is given below.
To strip all non-linefeed control codes from an Acorn file:
Select Acorn to Acorn as the mapping
Tick the 'Strip codes' conversion option
Drag the file to be converted onto ChangeTxt
To convert a source file which contains the Macintosh character set but has PC line
terminators into a destination Acorn file:
Select PC to Mac as the mapping
Untick the 'Character set' conversion option, otherwise the Macintosh
characters would be mapped onto their PC equivalents
Drag the file to be converted onto ChangeTxt
Save the result file
Select Mac to Acorn as the mapping
Tick the 'Character set' conversion option
Drag the result file from the previous conversion onto ChangeTxt
Status
======
During conversion, the window displays the name of the file currently being
converted.
Below this a red bar shows the progress of the file being converted.
Below this a green bar shows the progress through a batch of files.
Drop files here
===============
To perform a conversion, drag the file to be converted onto the window.
A save dialog is presented which is used to give the destination path for
the converted file. If multiple files are dragged onto the window then a
destination directory is acquired. The converted file names are then the same
as the original file names, but placed in the given directory.
The conversion of the text files occurs in background. More files can be
selected for conversion while current conversions are taking place. ChangeTxt
remembers the conversion mapping associated with each file, so different jobs
can have different mappings.
Conversion can be aborted by clicking on the abort button in the window.
Aborting terminates all currently identified conversions. Abortion is
automatic if the window is closed or the program is quitted.
ArcWeb Support
==============
ChangeTxt can now be used alongside the ArcWeb browser to automatically convert foreign
text file formats to Acorn format before viewing. Conversion of the foreign file formats
is performed using the standard ChangeTxt dialog options. ChangeTxt can also be instructed
to terminate when ArcWeb terminates, so it can be placed in the WebHelper folder along with
the other helpers.
Icon Bar Menu
=============
Info -> displays the standard information dialog plus
registration details
Report -> displays the file conversion report window
Quit with ArcWeb -> if ticked then ChangeTxt will quit when ArcWeb quits. This option
state is remembered automatically by the application on quitting
Quit -> quits the ChangeTxt application
Dialog Menu
===========
The dialog menu contains a subset of the Icon Bar Menu options.
Limitations
===========
ChangeTxt has not been tested under RISC OS 2.
Registration
============
ChangeTxt uses a registration system which uses a key to enable full
functionality of the application. Without the key then ChangeTxt will
only allow a subset of its features to be used.
If you wish to register and use all of ChangeTxt's features then send
your name and address, along with a cheque for £10 (£30 for commercial users)
sterling to the address below.
In return we will send you a key which will enable all ChangeTxt's features.
The key belongs to you and will ensure that you will be able to fully use
any future versions of ChangeTxt.
As a registered user you may have any number of copies as your name
will appear in the program information dialog. You can also send us
a disc with your key for the latest version, which we will return to you.
Point of Contact
================
If you have any technical queries/suggestions then please write to Darryl Sims, at:
dsims@ehorizon.demon.co.uk
For registration please send a cheque or postal order made payable to Paul Gee
at the address below. Please remember to include your return address or e-mail
address so we can return your registration key.
The Event Horizon
Bank Cottage
24 High Street
Cowden
Kent
TN8 7JG
e-mail: pgee@ehorizon.demon.co.uk
© The Event Horizon, All Rights Reserved 1996,1997.
History
=======
v2.1 - Fixed erroneous behaviour whenever a file is dragged to the icon bar before the
conversion dialog has been opened.
Fixed failure of the registered mappings to respond to all of the dialog options.
Added preferences option.
Added ArcWeb browser support so ChangeTxt can act as a helper.
v2.2 - Added support for identical source and destination.
Added support for multiple conversion preference files. Separated conversion
preferences from application preferences.
Minor alterations made to dialog layout.